package com.codelab.statemachine.mapstruct;

import com.codelab.statemachine.mybatis.dataobject.TaskDO;
import com.codelab.statemachine.task.Task;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface TaskEntityMapper {
    TaskEntityMapper INSTANCE = Mappers.getMapper(TaskEntityMapper.class);
    TaskDO task2Entity(Task task);
}
